to reduce costly disk latency issues, at a minimum, you should 为了减少代价昂贵的磁盘延迟问题,至少应该:
disk latencies are five to six orders of magnitude greater than main memory access latencies 磁盘访问的速度是内存访问速度的5到6倍。
in general, to optimize your storage system and avoid high disk latency issues, you need to understand 通常,要优化存储系统并避免严重磁盘延迟问题,需要了解:
for decades, cpu speeds have continued to double every 18 months to 2 years, but disk latencies have improved only very slowly 在近几十年中,cpu的速度每18个月到2年就增加一倍,而磁盘访问的延迟只是提高了一点点。
in order not to increase the costs of current system, we take advantage of memory compression the idea of memory compression is to hide the disk latencies by storing swapped out page frames in a compressed form, but still in physical memory . on a subsequent page fault, the page can be quickly decompressed and supplied to the application program 内存压缩技术的主要思想是将要换出的页以压缩的形式,存放在预先分配的内存中;当系统下一次访问该页引起缺页错时,系统从预分配的内存区中找到压缩过的该页,将其解压缩后即可以供系统使用。